package com.example.proyyj.Service;

import com.example.proyyj.Entity.Chinaware;
import com.example.proyyj.Impl.ChinawareImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ChinaService implements ChinawareImpl {
    @Resource
    ChinawareImpl chinaware;


    @Override
    public List<Chinaware> getChinawareList() {
        return chinaware.getChinawareList();
    }

    @Override
    public Chinaware getChinawareId(int id) {
        return chinaware.getChinawareId(id);
    }

}
